package com.example.hello.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.hello.dto.EmployeeQueryDTO;
import com.example.hello.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    IPage<Employee> selectEmployeeList(IPage<Employee> page, @Param("query") EmployeeQueryDTO query);
    Employee selectByUsername(String username);
} 